/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.publics;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 *
 * @author Lalugina
 */

@Entity
@Table(name="mst_workstation", schema="public")
@Cache(usage=CacheConcurrencyStrategy.READ_WRITE)
public class Workstation implements java.io.Serializable {
    
    @Id
    @Column(name="id", length=3, unique=true, nullable=false)
    private String id;
    
    @Column(name="deskripsi", length=100)
    private String deskripsi;
    
    @Column(name="ipaddress", length=100)
    private String ipaddress;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDeskripsi() {
        return deskripsi;
    }

    public void setDeskripsi(String deskripsi) {
        this.deskripsi = deskripsi;
    }

    public String getIpaddress() {
        return ipaddress;
    }

    public void setIpaddress(String ipaddress) {
        this.ipaddress = ipaddress;
    }
    
    
    
}
